/* Class39_Sub9 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import java.awt.Graphics;

public class Class39_Sub9 extends Node {
	public static int[] anIntArray1400;
	public static int anInt1401;
	public static JString aClass3_1402 = Class39_Sub5_Sub9.createJString(107, "W-=hlen Sie eine Option");
	public static int anInt1403;
	public byte[] aByteArray1404;
	public static int runEnergy;
	public CacheArchive aClass9_Sub1_1406;
	public static int anInt1407;
	public static int anInt1408;
	public CacheIO aClass6_1409;
	public int anInt1410;
	public static int anInt1411;
	public static int[][][] anIntArrayArrayArray1412;
	public static int anInt1413;
	public static JString aClass3_1414;
	public static int anInt1415;

	public static void method857(int i, boolean bool, byte[] is, boolean bool_0_) {
		if (Class55.aClass62_1251 != null) {
			if (Class39_Sub5_Sub4_Sub3.anInt2239 >= 0) {
				Class55.aClass62_1251.method1048(false);
				Class39_Sub5_Sub4_Sub3.anInt2239 = -1;
				Class65.anInt1141 = 0;
				Class39_Sub5_Sub6.aByteArray1768 = null;
				anInt1415 = 20;
			}
			if (is != null) {
				if (anInt1415 > 0) {
					Class55.aClass62_1251.method1053(i, (byte) 58);
					anInt1415 = 0;
				}
				Class39_Sub5_Sub4_Sub3.anInt2239 = i;
				Class55.aClass62_1251.method1051(i, is, (byte) 84, bool);
			}
		}
	}

	public static void method858(byte i) {
		Class39_Sub4.method459(Class39_Sub5.anInt1348, (byte) 108);
		if (Class39_Sub5_Sub2.anInt1713 != -1)
			Class39_Sub4.method459(Class39_Sub5_Sub2.anInt1713, (byte) 116);
		Class45.anInt856 = 0;
		Class34.aClass57_610.method1006(10);
		Stream.anIntArray1355 = Rasterizer.method657(Stream.anIntArray1355);
		Class39_Sub5_Sub10.method622();
		Deque.method955(503, 765, 0, Class39_Sub5.anInt1348, 0, -1, 0);
		if (Class39_Sub5_Sub2.anInt1713 != -1)
			Deque.method955(503, 765, 0, Class39_Sub5_Sub2.anInt1713, 0, -1, 0);
		if (!Class39_Sub12.aBoolean1493) {
			JString.method95(18);
			Class31.method320(-23401);
		} else
			Class1.method49(-112);
		try {
			Graphics graphics = Class41.aCanvas778.getGraphics();
			Class34.aClass57_610.method1010(-128, graphics, 0, 0);
		} catch (Exception exception) {
			Class41.aCanvas778.repaint();
		}
	}

	public static void method859(boolean bool) {
		aClass3_1402 = null;
		anIntArray1400 = null;
		anIntArrayArrayArray1412 = null;
		aClass3_1414 = null;
	}

	public static Class39_Sub5_Sub10_Sub4 method860(Class9 class9, int i, int i_1_) {
		if (!CollisionMap.method310(class9, i_1_, 84))
			return null;
		return PacketParser.method1036(false);
	}

	public static int method861(byte i, Class9 class9) {
		int i_2_ = 0;
		if (class9.method152(22411, Class30.aClass3_533, Class39_Sub11.aClass3_1455))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, Class43.aClass3_803))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, Class34.aClass3_609))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, PacketParser.aClass3_1056))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, Class30.aClass3_545))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, Class7.aClass3_107))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, ISAAC.aClass3_1103))
			i_2_++;
		if (class9.method152(i ^ ~0x57b5, Class30.aClass3_533, Class67.aClass3_1169))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, Class18.aClass3_348))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, Class41.aClass3_771))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, Tile.aClass3_1904))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, Class39_Sub5_Sub18.aClass3_2125))
			i_2_++;
		if (i != -63)
			method859(false);
		if (class9.method152(22411, Class30.aClass3_533, Class39_Sub4.aClass3_1340))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, Class43.aClass3_822))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, ISAAC.aClass3_1090))
			i_2_++;
		if (class9.method152(i + 22474, Class30.aClass3_533, Class39_Sub5_Sub4_Sub4_Sub1.aClass3_2489))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, ObjectDef.aClass3_1937))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, PacketStream.aClass3_2149))
			i_2_++;
		if (class9.method152(22411, Class30.aClass3_533, OnDemandFetcher.aClass3_1200))
			i_2_++;
		return i_2_;
	}

	public static boolean method862(int i, int i_3_, int i_4_) {
		ObjectDef class39_sub5_sub15 = Canvas_Sub1.method40(i_4_, (byte) 89);
		if (i_3_ == 11)
			i_3_ = 10;
		if (i_3_ >= 5 && i_3_ <= 8)
			i_3_ = 4;
		return class39_sub5_sub15.method740(127, i_3_);
	}

	public static void method863(int i, int i_5_) {
		Class39_Sub13 class39_sub13 = ((Class39_Sub13) Class14.aClass19_213.method245((byte) -19, (long) i));
		if (class39_sub13 != null) {
			for (int i_6_ = 0; i_6_ < class39_sub13.anIntArray1505.length; i_6_++) {
				class39_sub13.anIntArray1505[i_6_] = -1;
				class39_sub13.anIntArray1504[i_6_] = 0;
			}
		}
	}

	static {
		anIntArray1400 = new int[2048];
		anInt1407 = 0;
		anInt1411 = -1;
		anInt1401 = 0;
		runEnergy = 0;
		aClass3_1414 = Class39_Sub5_Sub9.createJString(116, "::qa_op_test");
		anInt1403 = 0;
		anInt1413 = 0;
		anInt1415 = 0;
	}
}
